Learn R Programming

ldat (version 0.3.3)

[.lvec: Indexing of lvec objects

Description

Indexing of lvec objects

Usage

# S3 method for lvec
[(x, i = NULL, range = NULL)

# S3 method for lvec [(x, i, range) <- value

# S3 method for ldat [(x, i, j, drop = FALSE, range = NULL, clone = TRUE)

# S3 method for ldat [(x, i, range) <- value

Arguments

x

an object of type lvec

i

an index vector. See lget.

range

an range of indices. See lget.

value

new values. See lget.

j

a selection of columns (a character, numeric or logical vector).

drop

ignored; included for compatability with data.frame.

clone

clone columns when selecting only columns.

Details

These functions are a wrapper around lget and lset.